import { defineStore } from "pinia";

export const usePMGlobalSettingStore = defineStore("pmGlobalSetting", {
  state: () => ({
    isBreadcrumbOpen: true,
  }),
  actions: {
    toggleBreadcrumbStatus(status?: boolean) {
      this.isBreadcrumbOpen = status ?? !this.isBreadcrumbOpen;
    },
  },
});
